﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class DefenceEffectSystem : EffectSystem
{
    private int defenceA; // 防御量
    private AutoTargetEffect autoTargetEffect;
    public override List<AutoTargetEffect> OtherEffects => new List<AutoTargetEffect> { autoTargetEffect };
    protected override void SetupByProNumber()
    {
        Mana = 2 - ProNumber;
        defenceA = 8 + ProNumber * 6;
        Description = $"获得{defenceA}点护盾。";

        autoTargetEffect = new AutoTargetEffect()
        {
            TargetMode = new SelfTM(),
            Effect = new DefenceEffect() { defenceAmount = defenceA }
        };
    }


       
}
